export default [{
    path: '/home', //首页
    component: (resolve) => require(['@/views/home/home'], resolve),
    hidden: true,
    meta: {
        title: 'global.users',
        code: 'mgr',
    },
    children: [{
        path: 'center', //个人中心
        component: resolve => require(['@/views/center'], resolve),
        meta: {
            title: 'global.center',
            code: 'system'
        }
    },
    {
        path: 'group_directory', //集团名录
        component: resolve => require(['@/views/group_directory'], resolve),
        meta: {
            title: 'global.group_directory',
            code: 'system'
        }
    },
    {
        path: 'product_list', //产品列表
        component: resolve => require(['@/views/product_list'], resolve),
        meta: {
            title: 'global.product_list',
            code: 'system'
        }
    },
    {
        path: 'product_storage', //产品入库
        component: resolve => require(['@/views/product_storage'], resolve),
        meta: {
            title: 'global.product_storage',
            code: 'system'
        }
    },
    {
        path: 'product_delivery', //产品出库
        component: resolve => require(['@/views/product_delivery'], resolve),
        meta: {
            title: 'global.product_delivery',
            code: 'system'
        }
    },
    {
        path: 'product_change', //产品变更
        component: resolve => require(['@/views/product_update'], resolve),
        meta: {
            title: 'global.product_change',
            code: 'system'
        }
    },
    {
        path: 'product_collaboration/demand', //需求配合
        component: resolve => require(['@/views/product_collaboration/demand'], resolve),
        meta: {
            title: 'global.demand',
            code: 'system'
        }
    },
    {
        path: 'product_collaboration/opinion', //意见反馈
        component: resolve => require(['@/views/product_collaboration/opinion'], resolve),
        meta: {
            title: 'global.opinion',
            code: 'system'
        }
    },
    {
        path: 'product_my', //我的产品
        component: resolve => require(['@/views/product_my'], resolve),
        meta: {
            title: 'global.product_my',
            code: 'system'
        }
    },
    {
        path: 'knowledge/cooperative_partner', //政府采购投标
        component: resolve => require(['@/views/knowledge/cooperative_partner'], resolve),
        meta: {
            title: 'global.cooperative_partner',
            code: 'system'
        }
    },
    {
        path: 'knowledge/government_procurement', //成功案例
        component: resolve => require(['@/views/knowledge/government_procurement'], resolve),
        meta: {
            title: 'global.government_procurement',
            code: 'system'
        }
    },
    {
        path: 'knowledge/successful_cases', //数广合作伙伴
        component: resolve => require(['@/views/knowledge/successful_cases'], resolve),
        meta: {
            title: 'global.successful_cases',
            code: 'system'
        }
    },
    {
        path: 'product_sale', //产品销售台账
        component: resolve => require(['@/views/product_sale'], resolve),
        meta: {
            title: 'global.product_sale',
            code: 'system'
        }
    },
    {
        path: 'white_list', //白名单管理
        component: resolve => require(['@/views/white_list'], resolve),
        meta: {
            title: 'global.white_list',
            code: 'system'
        }
    },
    {
        path: 'organization', //组织机构
        component: resolve => require(['@/views/organization'], resolve),
        meta: {
            title: 'global.organization',
            code: 'system'
        }
    },
    {
        path: 'user_management', //用户管理
        component: resolve => require(['@/views/user_management/user_management'], resolve),
        meta: {
            title: 'global.users',
            code: 'mgr',
        }
    },
    {
        path: 'role_management', //角色管理
        component: resolve => require(['@/views/role_management/role_management'], resolve),
        meta: {
            title: 'global.roles',
            code: 'role',
        }
    },
    {
        path: 'dept_management', //部门管理
        component: resolve => require(['@/views/dept_management/dept_management'], resolve),
        meta: {
            title: 'global.depts',
            code: 'dept',
        }
    },
    {
        path: 'position_management', //职位管理
        component: resolve => require(['@/views/position_management/position_management'], resolve),
        meta: {
            title: 'global.posts',
            code: 'SYS_POSITION',
        }
    },
    {
        path: 'dict_management', //字典管理
        component: resolve => require(['@/views/dict_management/dict_management'], resolve),
        meta: {
            title: 'global.dict_type',
            code: 'dict',
        }
    },
    {
        path: 'menu_management', //菜单管理
        component: resolve => require(['@/views/menu_management/menu_management'], resolve),
        meta: {
            title: 'global.menus',
            code: 'menu',
        }
    },
    {
        path: 'login_log', //登录日志
        component: resolve => require(['@/views/login_log/login_log'], resolve),
        meta: {
            title: 'global.login_log',
            code: 'loginLog',
        }
    },
    {
        path: 'business_log', //业务日志
        component: resolve => require(['@/views/business_log/business_log'], resolve),
        meta: {
            title: 'global.business_log',
            code: 'log',
        }
    },
    {
        path: 'notice_management', //通知管理
        component: resolve => require(['@/views/notice_management/notice_management'], resolve),
        meta: {
            title: 'global.messages',
            code: 'notice',
        }
    },
    {
        path: 'tenant_management', //租户管理
        component: resolve => require(['@/views/tenant_management/tenant_management'], resolve),
        meta: {
            title: 'global.tenants',
            code: 'tenant_info',
        }
    },
    {
        path: 'translation', //租户管理
        component: resolve => require(['@/views/translation/translation'], resolve),
        meta: {
            title: 'global.translation',
            code: 'TRANSLATION',
        }
    },
    {
        path: '/',
        component: resolve => require(['@/views/user_management/user_management'], resolve),
        meta: {
            title: 'global.users',
            code: 'mgr',
        }
    }
    ]
}]